home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
prog
/
cfuncs.zip
/
FNDDATE.DOC
< prev
next >
Wrap
Text File
|
1991-07-11
|
879b
|
20 lines
/*---------------------finddate---------------------------------*/
/*DESCRIPTION: Puts the system date or a user entered date into*/
/* datestr according to the value of format. */
/* */
/*INPUT: */
/* ReturnFormat -- format to return the date in according to */
/* ConvertDate formats. */
/* IncomingFormat -- format the date is in when passed to the */
/* function. This is the date that will be displayed */
/* */
/* If the incoming date is invalid (an empty string) the system*/
/* date will be used. */
/* */
/*RETURNS: 0 on sucess */
/* -1 on failure */
/*USES: Frame, inout, ConvertDate, */
/*--------------------------------------------------------------*/
finddate(void *the_date, int ReturnFormat, int IncomingFormat, char *prompt)